package com.atguigu.common.constant;

public interface SeckillConstant {

    String SEC_KILL_SESSION_CACHE_PREFIX = "seckill:session:";
    String SEC_KILL_SKU_CACHE_PREFIX = "seckill:sku";
    String SEC_KILL_STOCK_SEMAPHORE_CACHE_PREFIX = "seckill:stock:";
    String SEC_KILL_UPLOAD_LOCK_CACHE_NAME = "seckill:lock";
    String SEC_KILL_IDEMPOTENCE_LOCK_CACHE_NAME = "seckill:idempotence:";


    String SECKILL_ORDER_ROUTE_KEY_NAME = "order.seckilll.order";
    String SECKILL_ORDER_QUEUE_NAME = SECKILL_ORDER_ROUTE_KEY_NAME + ".queue";

}
